package com.panopset.refactorsf;

import javax.swing.JTextField;

import com.panopset.sf.Windoc;

/**
 * Panopset password field.
 *
 * @author Karl Dinwiddie
 *
 */
public final class PanPasswordField extends AbstractPanTextField {

    /**
     *
     * @param columns Number of columns.
     * @param borderTitle Border title.
     * @param toolTipText Tool tip text.
     * @param defaultValue Default value.
     */
    public PanPasswordField(final Windoc wd, final int columns, final String borderTitle,
            final String toolTipText, final String defaultValue, final String key) {
        super(wd, columns, borderTitle, toolTipText, defaultValue, key);
    }

    @Override
    public JTextField createComponent() {
        return new TPasswordField(getColumns());
    }
}
